package com.zkk.service;

import com.zkk.pojo.User;
import com.zkk.service.impl.UserServiceImpl;

import java.util.List;

public interface UserService {
    User login(User user);

    List<User> findAll();

    int deleteById(int id);

    int insertUsr(int id, String username,String password);

    User findById(int id); //通过id查询
    int modifyUser(int id,String username,String password);
}
